package beanAction;

import java.util.Date;

import packhib.Equipe;

import com.opensymphony.xwork2.ActionSupport;

public class AjouterEquipe  extends ActionSupport{
	
	private static final long serialVersionUID = 1L;
	private String libelle;
	private Date dateCreation;
	private int idEquipe;
	private int idPoste;
	private int matricule;
	public int getMatricule() {
		return matricule;
	}
	public void setMatricule(int matricule) {
		this.matricule = matricule;
	}
	public int getIdPoste() {
		return idPoste;
	}
	public void setIdPoste(int idPoste) {
		this.idPoste = idPoste;
	}
	public Date getDateCreation() {
		return dateCreation;
	}
	public void setDateCreation(Date dateCreation) {
		this.dateCreation = dateCreation;
	}
	public int getIdEquipe() {
		return idEquipe;
	}
	public void setIdEquipe(int idEquipe) {
		this.idEquipe = idEquipe;
	}
	public String getLibelle() {
		return libelle;
	}
	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}
	
	public String enregistrerEquipe()
	{
		
		Equipe equipe=new Equipe();
		equipe.setIdEquipe(getIdEquipe());
		equipe.setIdPoste(getIdPoste());
		equipe.setLibelle(getLibelle());
		equipe.setMatricule(getMatricule());
	}
	

}
